package com.hst.capacity.domain.model.entity.order.base;

import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;

import javax.persistence.MappedSuperclass;
import java.time.LocalDateTime;

/**
 * 订单结算表基类
 */
@Data
@MappedSuperclass
public class BaseOrderSettlementViewEntity extends BaseEntity {

    private String idOrderSettlement;//订单结算编号
    private String idOrder;//订单ID
    private String idFranchisee;//运力商ID
    private String franchiseeShortName;//运力商简称
    private LocalDateTime orderCreateTime;//订单创建时间
    private String orderBizName;//订单业务类型（如：站点驳车，市内快车）
    private String idMember;//用户ID
    private String userMobile;//会员手机（下单人）
    private String userName;//会员名字
    private String idDriver;//司机ID
    private String driverMobile;//司机手机号
    private String driverName;//司机名字
    private String startAddress;//订单起始地（省市区）
    private String endAddress;//订单目的地（省市区）
    private String dropOffArea;//下车地点
    private Float orderDistance;//实际行程距离
    private int orderSpendTime;//实际花费时间
    private Float driverIncome;//司机入帐
    private Float driverIncomeRate;//司机入帐比例
    private Float franchiseeIncome;//运力商入帐
    private Float franchiseeIncomeRate;//运力商入帐比例
    private Float platformIncome;//平台入帐
    private Float platformIncomeRate;//平台入帐比例
    private Float otherIncome;//其他分配
    private String memo;//备注
    private Integer paymentStatus;//支付状态(0:未支付 1：已支付)

}
